package com.ddxcloud.movie.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.ddxcloud.movie.data.dto.RefundDTO;
import com.ddxcloud.movie.data.entity.PaymentOrder;
import com.ddxcloud.movie.data.entity.RefundOrder;

import javax.servlet.http.HttpServletRequest;

public interface RefundOrderService extends IService<RefundOrder> {

    RefundOrder createRefundOrder(RefundDTO dto, PaymentOrder paymentOrder, HttpServletRequest request);

    Boolean updateRefundOrderForRefund(RefundOrder refundOrder, Integer refundStatus);
}
